/*
 * Class2Bbis.h
 *
 *  Created on: 2015年7月16日
 *      Author: Administrator
 */

#ifndef BCCH_CLASS2BBIS_H_
#define BCCH_CLASS2BBIS_H_
#include "Class2.h"


//struct ST2BBis_Header{
//	//header 由classType、segment Type组成
//	//2 bits
//	unsigned char classType:2;
//	//4bits
//	unsigned char segmentType:4;
//};
//– 95 bits (five BCCH neighbours)，包含其它5个相邻波束的BCCH信息，与2Abis联合构成6个相邻波束信息。
struct ST2BBIS_BCCH_NEIGHBOUR_LIST2b{
	//11bit
	unsigned short ARFCN:11 ;
	//<SA_BCCH_STN 5bit>
	unsigned char SA_BCCH_STN:5;
	//<RELATIVE_FRAME_OFFSET 3bit> – 相对于中心SB的帧号偏移
	unsigned char RELATIVE_FRAME_OFFSET:3 ;
};

class Class2Bbis :public Class2{
public:
	Class2Bbis();
	virtual ~Class2Bbis();
public:
//	//6 bit
//	ST2BBis_Header header;
	//95 bit
	ST2BBIS_BCCH_NEIGHBOUR_LIST2b neighbour[5];
	//– 19 bits
	unsigned int spare:19;

};

#endif /* BCCH_CLASS2BBIS_H_ */
